import request  from "./http";


// 获取url
export function getSongUrl(params){
    return request({
        url:"song/url",
        method:"get",
        params
    })
}

//获取歌词
export function getSongLyric(params){
    return request({
        url : "lyric",
        method : "get",
        params
    })
}

//搜索
export function getsearchfor(params){
    return request({
        url : "/search?",
        method : "get",
        meta:{
            headerflag:true
        },
        params
    })
}

// 获取验证码
export function getCaptcha(params){
    return request({
        url:"captcha/sent",
        method:"get",
        params
    })
}


// 密码登录
export function getCaptchaVerify(params){
    return request({
        url:"http://localhost:3000/login/cellphone?",
        method:"get",
        params
    })
}

// 获取账号信息
export function getCaptAccount(params){
    return request({
        url:"/user/subcount",
        method:"get",
        params
    })
}

//歌手评论
export function getCaptPlaylist(params){
    return request({
        url:"/comment/music?",
        method:"get",
        params
    })
}

